<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>首页</title>
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/istyle.css">
<link rel="stylesheet" type="text/css" href="article/theme/css/layout.css">
<link rel="stylesheet" href="skin/default/jooyea/css/layout.css" />
<link rel="stylesheet" href="servtools/coin-slider/coin-slider-styles.css" type="text/css" />
<script type="text/javascript" language="javascript" src="servtools/area.js"></script>
</head>
<body>
{inc:require("uiparts/guestheader.php");/}
<div class="i_wraper">

    <div class="i_header">  
    </div>
    <div class="i_content"> 
        <div class="i_content_left">

            <div class="i_message">

                <div class="i_message_left">
                    <h3>幸福之夜推荐</h3> 
                    {sta:foreach($user_rs as $val)[loop]}
                <dl>
                    <dt>
                        <a class="" hidefocus="true" href="home.php?h={echo:$val['user_id'];/}" target="_blank"><img src="{echo:$val['user_ico'];/}" alt="{echo:$val['user_name'];/}" /></a>
                        <p><a href="home.php?h={echo:$val['user_id'];/}" hidefocus="true" target="_blank">{echo:sub_str($val['user_name'],5,true);/}</a></p>
 
                    </dt>
                </dl>
                {end:foreach/}
            <div class="clear"></div>
             <div class="i_ad">
                    <img width="180" src="skin/default/jooyea/images/index_right.jpg" />
                
                </div>



                </div>
                <div class="i_message_right">
                    <h3>幸福之夜</h3>
                    <div class="padding:5px;">
                    
                    <form name="form1" action="modules.php?app=iNight" method="post" >
                                        <select name="country" id="a1">
                                            <option value="">请选择</option>
                                        </select>
                                        <select name="city" id="a2"><option value="">请选择</option>
                                        </select>
                                        <script type="text/javascript">
                                            setup3();
                                            document.getElementById('a1').value='{echo:$country;/}';
                                            change3(1);
                                            document.getElementById('a2').value='{echo:$city;/}';
                                            a2=document.getElementById('a2');
                                            a1=document.getElementById('a1');
                                            a2.onchange=function(){
                                                form1.submit();
                                            
                                            }
                                           
                                        </script>


                    
                    </form>
                    
                    </div>
                    {sta:foreach($message_rs as $val)[loop]}
                    <div class="night_item">
                        <div style="float:left;margin-right:5px;">
                            <img src="{echo:$val['iweber_user_ico'];/}"  alt="{echo:$val['iweber_user_name'];/}" />
                        </div> 
                        <p>
                            <a href="home.php?h={echo:$val['iweber_user_id'];/}" hidefocus="true" target="_blank"><strong>{echo:sub_str($val['iweber_user_name'],5,true);/}</a></strong>
                        </p>
                        <table class="night-table">
                            <tr>
                                <td><span style="margin-left:5px;"> 发布时间:</span></td>
                                <td><span class=""> {echo:date("Y-m-d",$val["iweber_night_time"]);/}</span></td>
                                <td><span style="margin-left:5px;">截止时间:</span></td>
                                <td><span class=""> {echo:date("Y-m-d",$val["iweber_night_deadline"]);/}</span></td>
                            </tr>
                            <tr>
                                <td><span style="margin-left:5px;">城市:</span></td>
                                <td><span class=""> {echo:$val["iweber_night_city"];/}</span></td>
                                <td><span style="margin-left:5px;">年龄:</span></td>
                                <td><span class=""> {echo:$val["iweber_night_age"];/}</span></td>
                            </tr>
                            <tr>
                                <td colspan=1><span style="margin-left:5px;">具体信息:</span></td>
                                <td colspan=3>
                                    {echo:$val['iweber_night_detail'];/} 
                                </td>
                            </tr>
                        </table>
                    <div class="clear"></div>
                    </div>
                    {end:foreach/}
                    <div class="clear"></div>
                    {sta:page_show_night(false,$page,$all,$city,$country);/}
                    <hr style="margin:5px 0">
                <form action="do.php?act=iNight_add" method="post">
                        <div id="i_reside">
                            <table>
                                <tr>
                                    <td>你所在的城市:</td>
                                    <td>
                                        <select name="r1" id="b1">
                                            <option value="">请选择</option>
                                        </select>
                                        <input type="hidden" name="reside_province" id="reside_province" value="意大利">
                                        <select name="city" id="b2"><option value="">请选择</option>
                                        </select>
                                        <script type="text/javascript">
                                            setup4();
                                            change4(1);
                                        </script>
                                    </td>
                                </tr>
                                <tr>
                                    <td>截止时间:</td>
                                    <td>
                                        <select id="birth_year" name="year">
                                            <option value="2011">2011</option>
                                            <option value="2012">2012</option>
                                            <option value="2013">2013</option>
                                            <option value="20l4">2014</option>
                                            <option value="2015">2015</option>
                                            <option value="2016">2016</option>
                                            <option value="2017">2017</option>
                                            <option value="2018">2018</option>
                                            <option value="2019">2019</option>
                                            <option value="2020">2020</option>
                                            <option value="2021">2021</option>
                                            <option value="2022">2022</option>
                                        </select>年
                                        <select id="birth_month" name="month">
                                            <option value="">--</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option></select>月
                                        <select id="birth_day" name="day">
                                            <option value="">--</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select>日                  
                                </td> 
                                </tr>
                                <tr>
                                    <td>你的年龄:</td>
                                    <td><input type="text" style="width:40px;margin-right:5px;" name="age">岁</td>
                                </tr>
                                <tr>
                                    <td>具体细节:</td>
                                    <td>
                                        <textarea style="width:300px;height:100px;resize:none;" name="content"></textarea> 
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td >
                                        <input type="submit" value="发布">
                                    </td>
                                </tr>
                            </table>

                        </div>

                </form>
                </div>
                <div class="clear"></div>

            </div>

          
        </div>
        <div class="i_content_right">
			<!--最新文章开始-->
			<div class="cont">
				<div class="cont_title">
                    <span><a href="article/index.php?app=view&list&mod=new">更多..</a></span>
				最新文章
				</div>
				<div class="cont_body" id="new_log">
					<ul>
						{sta:foreach($recom_rs as $val)[loop]}
                        <li><a href="article/index.php?app=view&show&id={echo:$val['id'];/}"><nobr>{echo:sub_str($val['title'],20);/}</nobr></a></li>
						{end:foreach/}
					</ul>
					<!--广告!-->
                    <a href="#"><img src="article/theme/img/banner_03.gif" width="210px" /></a>
				</div>
			</div>
			<!--最新文章结束-->
            <div class="i_ad">
                    <img width="216" src="skin/default/jooyea/images/index_right_1.jpg" />
                
                </div>


        </div>   

             
        <div class="i_clear"></div>
    </div>
    <div class="i_footer">



    </div>



</div>

{inc:require("uiparts/footor.php");/}

</body>
</html>
